﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Interfacultades.Models;

namespace Interfacultades.Controllers
{
    public class DeportistaController : Controller
    {
        public ViewResult Index()
        {
            List<Deportista> deportistas = new List<Deportista> {
                        new Deportista(){IdDeportista = "1", Nombre= "Miguel Koo"} , 
                        new Deportista(){IdDeportista = "2", Nombre= "Manuel Solórzano"} ,
                        new Deportista(){IdDeportista = "3", Nombre= "Que mierda!"} };
            return View(deportistas);
        }
    }
}
